package com.tledu.service.impl;

import com.tledu.mapper.YongHuMapper;
import com.tledu.model.YongHu;
import com.tledu.service.YongHuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class YongHuServiceImpl implements YongHuService{
    @Autowired
    private YongHuMapper yongHuMapper;

    @Override
    public List<YongHu> YongHu_list(Map<String,Object> map) {
        return yongHuMapper.YongHu_list(map);
    }

    @Override
    public int YongHuCount() {
        return yongHuMapper.YongHuCount();
    }

    @Override
    public int DeleteAll(Integer id) {
        return yongHuMapper.DeleteAll(id);
    }
}
